package com.alex.hibernate.domain;

import javax.persistence.Entity;
import javax.persistence.Table;
import com.alex.basic.domain.BasicEntity;

/**
 * @author alex
 */
@Entity
@Table(name="USER")
public class User extends BasicEntity {

	private static final long serialVersionUID = 6596592317627022783L;
	
	private String loginName;
	
	private String password;
	
	private Integer age;

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getLoginName() {
		return loginName;
	}
	
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
